package exteditapp;

/**
 * 
 * @author
 */
public class SettingsFromFile extends ISettings  {

	/**
	 * Source file
	 */
	FileDefault file;

	/**
	 * Default constructor
	 */
	public SettingsFromFile(){
		super();
	}

	/**
	 * Default constructor
	 * @param sourceUrl address of source file
	 */
	public SettingsFromFile(String sourceUrl) {
		super();
		file = new FileDefault(sourceUrl);
	}
	
	public void getSource(){
		//TODO get sources from external directory
	}
	
	/**
	 * Change (or set) settings source - file name
	 * @param url address of source file
	 */
	public void setSource(String url) {
		//TODO change position of source file on runtime
	}
	
	/**
	 * Loads settings from current source file
	 * @return true on success and false otherwise
	 */
	public Boolean load() {
		return false;
		//TODO implement load process
	}

}
